/*
 * Year.java
 *
 * Created on August 15, 2006, 11:01 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package calendarapplication;

import java.util.*;

/**
 *
 * @author eddie.dillon
 */
public class Year {
    
    /** Creates a new instance of Year */
    public Year(Calendar cal) {
        Name(cal);
    }
    
    public int Name(Calendar cal) {
        return cal.get(Calendar.YEAR);
    }
}
